package com.entity;

import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.afterturn.easypoi.excel.annotation.ExcelIgnore;
import cn.afterturn.easypoi.excel.annotation.ExcelTarget;

import java.io.Serializable;
import java.util.Date;

@ExcelTarget("employees")
public class Employee implements Serializable {


    @Excel(name = "编号")
    private Integer id;
    @Excel(name = "员工姓名")
    private String name;
    @Excel(name = "薪水")
    private Double salary;
    @Excel(name = "部门编号")
    private Integer deid;
    @Excel(name = "部门")
    private String departmentName;
    @Excel(name = "生日",format = "yyyy年MM月dd日",width = 15.0)
    private Date birthday;
    @Excel(name = "照片",type = 2,savePath = "D:/software Install/idea code/demo/photos",width = 15.0)
    private String photo;
    @Excel(name = "性别")
    private Boolean gender;
    @Excel(name = "手机号码",width = 15.0)
    private String telephone;
    @Excel(name = "邮箱",width = 15.0)
    private String epemail;


    public String getEpemail() {
        return epemail;
    }

    public void setEpemail(String epemail) {
        this.epemail = epemail;
    }

    public String getDepartmentName() {
        return departmentName;
    }

    public void setDepartmentName(String departmentName) {
        this.departmentName = departmentName;
    }

    public Employee(String departmentName) {
        this.departmentName = departmentName;
    }

    public Integer getDeid() {
        return deid;
    }

    public void setDeid(Integer deid) {
        this.deid = deid;
    }

    public Employee(Integer deid) {
        this.deid = deid;
    }

    public Employee() {
    }

    public Employee(Integer id, String name, Double salary, Date birthday, String photo,Boolean gender, String telephone,String epemail) {
        this.id = id;
        this.name = name;
        this.salary = salary;
        this.birthday = birthday;
        this.photo = photo;
        this.gender = gender;
        this.telephone = telephone;
        this.epemail =epemail;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Double getSalary() {
        return salary;
    }

    public void setSalary(Double salary) {
        this.salary = salary;
    }

    public Date getBirthday() {
        return birthday;
    }

    public void setBirthday(Date birthday) {
        this.birthday = birthday;
    }

    public String getPhoto() {
        return photo;
    }

    public void setPhoto(String photo) {
        this.photo = photo;
    }

    public Boolean getGender() {
        return gender;
    }

    public void setGender(Boolean gender) {
        this.gender = gender;
    }

    public String getTelephone() {
        return telephone;
    }

    public void setTelephone(String telephone) {
        this.telephone = telephone;
    }
}
